package com.e3.bill.model;

import com.e3.web.core.model.SuperModelFields;

public interface BillFields extends SuperModelFields{
	
	/**
	 * 审批时间
	 */
	public final static String APPROVE_TIME = "bill_approve_time";
	
	/**
	 * 审批人
	 */
	public final static String APPROVER = "bill_approver";
	
	/**
	 * 单据号
	 */
	public final static String BILLNO = "bill_billno";
	
	/**
	 * 公司
	 */
	public final static String CORP = "bill_corp";
	
	/**
	 * 来源单据id
	 */
	public final static String PARENT_ID = "bill_parent_id";
	
	/**
	 * 来源单据行id
	 */
	public final static String PARENT_ROWID = "bill_parent_rowid";
	
	/**
	 * 来源单据类型
	 */
	public final static String PARENT_TYPE = "bill_parent_type";
	
	/**
	 * 源头单据id
	 */
	public final static String SOURCE_ID = "bill_source_id";
	
	/**
	 * 源头单据行id
	 */
	public final static String SOURCE_ROWID = "bill_source_rowid";
	
	/**
	 * 源头单据类型
	 */
	public final static String SOURCE_TYPE = "bill_source_type";
	
	/**
	 * 单据状态
	 */
	public final static String STATUS = "bill_status";
	
	/**
	 * 审批未通过
	 */
	public final static String STATUS_APPROVE_NOPASS = "status_approve_nopass";
	
	/**
	 * 作废
	 */
	public final static String STATUS_APPROVE_OBSOLETE = "status_approve_obsolete";
	
	/**
	 * 审批通过
	 */
	public final static String STATUS_APPROVE_PASS = "status_approve_pass";
	
	/**
	 * 审批中
	 */
	public final static String STATUS_APPROVING = "status_approving";
	
	/**
	 * 保存未提交
	 */
	public final static String STATUS_SAVED = "status_saved";
	
	public final static String[] fieldNames = {
		APPROVE_TIME,APPROVER,BILLNO,CORP,PARENT_ID,PARENT_ROWID,PARENT_TYPE,SOURCE_ID,SOURCE_ROWID,SOURCE_TYPE,STATUS,ID,CREATE_USER_ID,CREATE_TIME,MODIFY_USER_ID,MODIFY_TIME
	};
	
}